/*
 * Copyright (c) 2011 by Konstantin Pavlov.
 */

package gwtlx.html5.client.sql;

/**
 * SQL Error interface.
 *
 * @author Konstantin Pavlov
 * @version $LastChangedRevision: 15 $
 * @since 02.06.2010
 */
public interface SQLError {

    short UNKNOWN_ERR = 0;
    short DATABASE_ERR = 1;
    short VERSION_ERR = 2;
    short TOO_LARGE_ERR = 3;
    short QUOTA_ERR = 4;
    short SYNTAX_ERR = 5;
    short CONSTRAINT_ERR = 6;
    short TIMEOUT_ERR = 7;
//  readonly attribute unsigned short code;
//  readonly attribute DOMString message;
}
